using System;

[Serializable]
public class InventoryItem
{
    public ItemData data;
    public int StackSize;

    public InventoryItem(ItemData data)
    {
        this.data = data;
        AddStack();
    }

    public void AddStack() => StackSize++;

    public void RemoveStack() => StackSize--;
}
